<template>
  <n-config-provider :locale="zhCN" :date-locale="dateZhCN">
    <n-message-provider :max="2">
      <n-dialog-provider>
        <n-loading-bar-provider>
          <n-notification-provider>
            <router-view v-slot="{ Component, route }">
              <component :is="Component" :key="route.fullPath" />
            </router-view>
          </n-notification-provider>
        </n-loading-bar-provider>
      </n-dialog-provider>
    </n-message-provider>
  </n-config-provider>
</template>

<script setup lang="ts">
import { zhCN, dateZhCN } from 'naive-ui'

</script>